package com.xuanmiao.smsback.dao.mapper;

import com.xuanmiao.smsback.dao.model.ExpenseCalendarDO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ExpenseCalendarMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ExpenseCalendarDO record);

    int insertSelective(ExpenseCalendarDO record);

    ExpenseCalendarDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExpenseCalendarDO record);

    int updateByPrimaryKey(ExpenseCalendarDO record);

    List<ExpenseCalendarDO> query(@Param("startTime")Date startTime, @Param("endTime") Date endTime);
}